<?php

namespace Admin\Model;

use Think\Model\ViewModel;

class ModuleViewModel extends ViewModel {
	public $viewFields = array(
			'Module'    =>array('id','name','subtitle','image'),
			'City'=>array('city'=>'city', '_on'=>'Module.city=City.id','_type'=>'LEFT'),
	);
}